from django.db import models

# Create your models here.
class student(models.Model):
    id=models.AutoField(primary_key=True,auto_created=True)
    name=models.CharField(max_length=4,null=False,unique=True)
    age=models.IntegerField(null=False)
    gender=models.IntegerField(choices=[(0,'男'),(1,'女')])
    deadline=models.DateTimeField(auto_now_add=True)
    description=models.TextField()